public class Bicycle {
    private String type;//电驴型号
    private float priceBefore;//原价
    private float priceSell;//售价
    private String condition;//新旧程度
    private String places;//交易地点

    public Bicycle(){}
    public Bicycle(String type,float priceBefore,float priceSell,String condition,String places)
    {
        this.type=type;
        this.priceBefore=priceBefore;
        this.priceSell=priceSell;
        this.condition=condition;
        this.places=places;
    }
    @Override
    public String toString() {
        return "Book{" +
                "type='" + type + '\'' +
                ", pricebefore='" + priceBefore + '\'' +
                ", priceSell='" + priceSell + '\'' +
                ", condition='" + condition + '\'' +
                ", places='" + places ;
                
    }

    public String getType() {
        return type;
    }

}
